Remove gtk-doc annotation from private symbols
authorEmmanuele Bassi <ebassi@gnome.org>
Wed, 2 Dec 2020 15:09:32 +0000 (15:09 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Wed, 2 Dec 2020 19:05:41 +0000 (19:05 +0000)
Keep the documentation, just tweak it so that gtk-doc won't try to find
the declarations of these private symbols.

gdk/x11/gdkkeys-x11.c
gdk/x11/gdkvisual-x11.c

index 6e27537b568c285e34136b8d5e954954c65c5600..b58371e702350f9de55d46619fb305350502857e 100644 (file)
@@ -1395,7 +1395,7 @@ gdk_x11_keymap_translate_keyboard_state (GdkKeymap       *keymap,
   return tmp_keyval != NoSymbol;
 }
 
-/**
+/*< private >
  * gdk_x11_keymap_get_group_for_state:
  * @keymap: (type GdkX11Keymap): a #GdkX11Keymap
  * @state: raw state returned from X
@@ -1459,7 +1459,7 @@ _gdk_x11_keymap_add_virt_mods (GdkKeymap       *keymap,
     }
 }
 
-/**
+/*< private >
  * gdk_x11_keymap_key_is_modifier:
  * @keymap: (type GdkX11Keymap): a #GdkX11Keymap
  * @keycode: the hardware keycode from a key event
index 6d18060a9e6ad6f73abeaccad74519405515cac2..8e2f296e8b6ab3ee8f484cba7f7a3af0e3bf8428 100644 (file)
@@ -281,7 +281,7 @@ _gdk_x11_screen_init_visuals (GdkX11Screen *x11_screen,
     }
 }
 
-/**
+/*< private >
  * gdk_x11_screen_lookup_visual:
  * @screen: a #GdkX11Screen.
  * @xvisualid: an X Visual ID.
@@ -304,11 +304,11 @@ gdk_x11_screen_lookup_visual (GdkX11Screen *x11_screen,
   return NULL;
 }
 
-/**
+/*< private >
  * gdk_x11_visual_get_xvisual:
- * @visual: (type GdkX11Visual): a #GdkVisual.
+ * @visual: a #GdkX11Visual.
  *
- * Returns the X visual belonging to a #GdkVisual.
+ * Returns the X visual belonging to a #GdkX11Visual.
  *
  * Returns: (transfer none): an Xlib Visual*.
  **/